<div class="viewTable addmarginB20">
        <div class="detail scroll-item">
         <div class="rowG th earlydiscount">
		<div class="col col3"><div class="padding"><h5>Discount (Amt)</h5></div></div>
		<div class="col col3"><div class="padding"><h5>Discount (%)</h5></div></div>
		<div class="last col3"><div class="padding"><h5>Valid till</h5></div></div>
      </div>
	  <div class="rowG tr">
    <?php foreach ($classEarlyDiscount as $classEarlyValue) { ?>
       <div class="earlydiscount">
	   <div class="col col3"><div class="padding"><p><?php echo ($classEarlyValue->discount_price == '') ? 'NULL' : $classEarlyValue->discount_price; ?></p></div></div>
       <div class="col col3"><div class="padding"><p><?php echo ($classEarlyValue->in_percentage == '') ? 'NULL' : $classEarlyValue->in_percentage; ?></p></div></div>
       <div class="col col3"><div class="padding"><p><?php echo date("Y:m:d", strtotime($classEarlyValue->valid_to)); ?></p></div></div>
	   </div>
    <?php }?>
	</div>
</div>
</div>

